aefa5745df8cbd6b091bb46b5514b73a0a34e899,src/main/java/com/squid/core/domain/extensions/string/SubstringOperatorDefinition.java,SubstringOperatorDefinition,getListContentAssistEntry,#,63

Before Change


		if(super.getListContentAssistEntry()==null){
			List <String> descriptions = new ArrayList<String>();
			descriptions.add("Take the substring between begin and end");
			descriptions.add("Take the substring between begin and end");
			descriptions.add("Take the substring between begin and end");
			descriptions.add("Take the substring between begin and end");
			descriptions.add("Take the substring between begin and end");
			descriptions.add("Take the substring between begin and end");

			ListContentAssistEntry entry = new ListContentAssistEntry(descriptions,getParametersTypes());
			setListContentAssistEntry(entry);
		}
		return super.getListContentAssistEntry();

After Change


	public ListContentAssistEntry getListContentAssistEntry(){
		if(super.getListContentAssistEntry()==null){
			List <String> descriptions = new ArrayList<String>();
			List types = getParametersTypes();
			for(int i = 0; i<types.size();i++){
				descriptions.add("Take the substring between begin and end");
			}
			ListContentAssistEntry entry = new ListContentAssistEntry(descriptions, types);
			setListContentAssistEntry(entry);